import {post} from './../utils/request'

interface LoginData{
    admin_name:string,
    pwd:string
}
const login=<LoginData>(data:LoginData):any=>{
    return post("visit/admin/login",data)
}

export {login}